package com.ecric.http.OkHttp3.package3;

import okhttp3.Request;
import okhttp3.Response;

/**
 * <h3>Description</h3>
 * TODO
 * <h3>Author</h3> luzhenbang
 * <h3>Date</h3> 04/04/2018 17:20
 * <h3>Copyright</h3> Copyright (c)2018 Shenzhen TL  Co., Ltd. Inc. All rights reserved.
 */
public interface RequestCallback {

    void onBefore();
    void onFailure(Request request, Exception e) ;
    void onResponse(Response response);
    void onError(Response response, int code);

}
